-- GENERATED SPELL FOR [Kazon] --


function spell0_584(pUnit, Event) --@Backhand,n/a--
pUnit:FullCastSpellOnTarget(6253,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_584', 2250, 1)
end

function Sorts_584(pUnit, Event)
local choix_sorts_584 = math.random(0, 0)
if choix_sorts_584 == 0 then
pUnit:RegisterEvent('spell0_584', 1, 1)
end
end

function mob584_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_584', math.random(1500, 3000), 1)
end

function mob584_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob584_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob584_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(584, 1, 'mob584_Action')
RegisterUnitEvent(584, 2, 'mob584_Leave')
RegisterUnitEvent(584, 3, 'mob584_Kill')
RegisterUnitEvent(584, 4, 'mob584_Die')
